//
//  Alert+Extension.swift
//  GjCup
//
//  Created by abc on 2024/4/7.
//

import Foundation
import UIKit

extension UIAlertController{
    
    
    static func ok_alert(_ msg: String, _ vc: UIViewController){
        let alert = UIAlertController(title: nil, message: msg, preferredStyle: .alert)
        alert.addAction(UIAlertAction(title: "确定", style:.default))
        vc.present(alert, animated: true)
        
    }
    
    
}
